package work20241203_chap6oop.q_demo14.b;

import work20241203_chap6oop.q_demo14.a.MySuperClass;

/**
 * @author zdl
 * @date 2024/12/5
 */
class MySubClass extends MySuperClass{
    public void print(){
        System.out.println(value);
    } }
public class TestMain  {
    public static void main(String args[]){
        MySubClass msc = new MySubClass();
        msc.print();
        System.out.println(msc.getValue());
    }
}
